plugins {
    id 'application'
    id 'airbyte-docker'
    id 'airbyte-integration-test-java'
}

application {
    mainClass = 'io.airbyte.integrations.destination.starrocks.StarRocksDestination'
}

dependencies {
    implementation 'org.apache.commons:commons-csv:1.4'
    implementation group: 'mysql', name: 'mysql-connector-java', version: '8.0.33'
    implementation 'com.fasterxml.jackson.core:jackson-databind:2.14.1'
    implementation 'com.alibaba:fastjson:1.2.83'

    implementation project(':airbyte-config-oss:config-models-oss')
    implementation project(':airbyte-integrations:bases:base-java')
    implementation files(project(':airbyte-integrations:bases:base-java').airbyteDocker.outputs)
    implementation libs.airbyte.protocol

    integrationTestJavaImplementation project(':airbyte-integrations:bases:standard-destination-test')
    integrationTestJavaImplementation project(':airbyte-integrations:connectors:destination-starrocks')
}
